<! --templates/adm_suporte.html -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 5.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title> Relatório Gerencial </title>
    <meta http-equiv="Content-type" content="text/html; charset=iso-8859-1" />
    <link rel="stylesheet" type="text/css" href="/static/css/jquery-ui-1.8.21.custom.css" /> 
    <link rel="stylesheet" type="text/css" href="/static/js/style.css" />
    <script type="text/javascript" src="/static/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery-ui-1.8.21.custom.min.js"></script>
    <script type="text/javascript" src="/static/js/jquery.tablesorter.js"></script>
    
    
    <style>
    body{
	    font-family:Arial,Helvetica,sans-serif;
	    font-size: 12px;
    }
    </style>
    <script type="text/javascript">
    	window.onload = function(){
    		$('#report_table').tablesorter();
    	}
    </script>
    
</head>
<body>
<br/>
<br/>
<table class="tablesorter" id="report_table">
    <thead>
        <th> ID </th>
        <th> Cliente </th>
        <th> Tipo </th>
        <th> Status </th>
        <th> Abertura </th>
        <th> Fechamento </th>
        
    </thead>
    <tbody>
        {% for c in chamados %}
             <tr>
        		<td> {{ c.id }} </td>
        		<td> {{ c.cliente }}</td>
        		<td> {{ c.tipo }} </td>
        		<td> {{ c.status }}</td>
        		<td> {{ c.abertura }} </td>
        		<td> 
        			{% if c.fechamento %}
        				{{  c.fechamento }}
        			{% else %}
        				-
        			{% endif %}
        		</td>
             </tr>
        {% endfor %}
    </tbody>
</table>
</body>
</html>
